package com.iclient.dao.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.iclient.dao.mapper.WbUserMapper;
import com.iclient.dao.model.WbUser;
import com.iclient.dao.service.WbUserService;

@Service
public class WbUserServiceImpl implements WbUserService{

	@Autowired
	private WbUserMapper wbUserMapper;
	
	@Override
	public void insert(WbUser wbUser){
		wbUserMapper.insert(wbUser);
	}

	@Override
	public WbUser findUnAttention() {
		return wbUserMapper.findUnAttentionUser();
	}
	
	@Override
	public void update(WbUser WbUser){
		wbUserMapper.updateBy(WbUser);
	}

	@Override
	public Integer updateByUrl(String addUrl) {
		return wbUserMapper.updateByUrl(addUrl);
	}
}
